package com.example.pxxy_news.entity;

public class News {
	private String title;
	private String content;
	private String author;
	private String createTime;
	private int newsId;

	public int getNewsId() {
		return newsId;
	}

	public void setNewsId(int newsId) {
		this.newsId = newsId;
	}

	public News() {
	}

	public News(int newsId, String title, String content, String author,
			String createTime) {
		this.title = title;
		this.content = content;
		this.author = author;
		this.createTime = createTime;
		this.newsId = newsId;
	}

	public News(String title, String content, String author, String createTime) {
		this.title = title;
		this.content = content;
		this.author = author;
		this.createTime = createTime;
	}

	public String getTitle() {
		return title;
	}

	public void setTitle(String title) {
		this.title = title;
	}

	public String getContent() {
		return content;
	}

	public void setContent(String content) {
		this.content = content;
	}

	public String getAuthor() {
		return author;
	}

	public void setAuthor(String author) {
		this.author = author;
	}

	public String getCreateTime() {
		return createTime;
	}

	public void setCreateTime(String createTime) {
		this.createTime = createTime;
	}
}
